{include file="common/header"/}
<div class="lemo-container">
    <div class="lemo-main">
        <div class="admin-main layui-anim layui-anim-upbit">
            <fieldset class="layui-elem-field layui-field-title">
                <legend>添加</legend>
            </fieldset>
            <form class="layui-form layui-form-pane" lay-filter="form">

                <div class="layui-form-item">
                    <label class="layui-form-label">组名</label>
                    <div class="layui-input-inline">
                        <input type="text" name="name" lay-verify="required" placeholder="请输入组名" class="layui-input">
                    </div>

                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">appid</label>
                    <div class="layui-input-inline">
                        <input type="text" name="appid" lay-verify="required" placeholder="请输入appid" class="layui-input">
                    </div>

                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">key</label>
                    <div class="layui-input-inline">
                        <input type="text" name="key" lay-verify="required" placeholder="请输入key" class="layui-input">
                    </div>

                </div>

                <div class="layui-form-item">
                    <div class="layui-input-inline">
                        <input type="hidden" name="id"  >
                        <button type="button" class="layui-btn" lay-submit="" lay-filter="submit">{:lang('submit')}</button>
                        <a data-href="{:url('group_list')}" class="layui-btn layui-btn-primary back">{:lang('back')}</a>
                    </div>
                </div>

            </form>
        </div>

    </div>
</div>

{include file="common/footer"/}
<script>
    layui.config({
        base: '/static/admin/js/',
        version: true
    }).extend({
        Admin: 'Admin',
    }).use(['form','Admin'], function () {
        var form = layui.form, layer = layui.layer,$= layui.jquery;

        form.render();

    });
</script>